package com.cbts.dao.impl;

import com.cbts.dao.GiftDao;
import com.cbts.entity.Gift;
/**
 * @author 邱鸿辉
 *
 */
public class GiftDaoImpl extends BaseDaoImpl<Gift> implements GiftDao{

	public Gift getGiftByGiftName(String giftName) {

		String hql = "and o.giftName = ?";
		return queryUnique(hql,new Object[]{giftName});
	}

}
